<template>
  <a-config-provider :locale="appLocale">
    <div id="app">
      <BasicLayout />
    </div>
  </a-config-provider>
</template>

<script setup lang="ts">
import BasicLayout from '@/layouts/BasicLayout.vue'
import zhCN from 'ant-design-vue/es/locale/zh_CN' //引入中文语言包
import 'dayjs/locale/zh-cn' //引入中文语言包
import dayjs from 'dayjs'

//设置默认为中文
dayjs.locale('zh-cn')

//设置当前环境为中文
const appLocale = zhCN
// import { healthUsingGet } from '@/api/mainController'
// import { useLoginUserStore } from '@/stores/useLoginUserStore'
//已经改为在权限校验文件中获取
// const loginUserStore = useLoginUserStore()
// loginUserStore.fetchLoginUser()
//
//
// healthUsingGet().then((res) => {
//   console.log(res)
// })
</script>

<style scoped></style>
